// AppMenu, MENUS

export interface MenuGroup {
  name: string,
  children: AppMenu[],
}


export const MENUS: MenuGroup[] = [
  {
    name: '基础', children: [
      {name: 'Color', title: '颜色', page: '/normal/color', complete: false},
      {name: 'Icon', title: '图标', page: '/normal/icon', complete: false},
      {name: 'Button', title: '按钮', page: '/normal/button', complete: false},
      {name: 'Layout', title: '布局', page: '/normal/layout', complete: false},
    ]
  },
  {
    name: '表单组件',
    children: [
      {name: 'Input', title: '输入框', page: '/normal/input', complete: false}
    ]
  },
  {
    name: '测试useModel',
    children: [
      {name: 'DemoUseModel', title: '测 useModel', page: '/use/useModel/demo-use-model', complete: false}
    ]
  },
  {
    name: '测试useStyle',
    children: [
      {name: 'DemoUseStyle', title: '测 useStyle', page: '/use/useStyle/demo-use-style', complete: false},
      {name: 'useSlots', page: '/use/useSlots/demo-use-slots', complete: true},
      {name: 'useScopedSlots', page: '/use/useScopedSlots/demo-use-scoped-slots', complete: true},
    ]
  }
]

export type AppMenu = {
  title?: string,
  page: string,
  complete?: boolean,
  name: string,
}
